package com.zhiyou.service.ContractService;

import com.github.pagehelper.PageInfo;
import com.zhiyou.bean.Contract;
import com.zhiyou.bean.Lessee;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface ContractServiec {

    public PageInfo getContractMsg(Integer pn,Contract contract);

    public Contract getContractDetailMsg(Contract contract);

    public int deleteContract(Integer cid);

    public int updateContract(Contract contract,String overtime);

    public int addContract(Contract contract,String onTime,String startTime,String overTime);

    public List<Contract> exportExcel();
}
